#pragma once

class COutPut;
class CTradeRule;
typedef struct _stDayPerData DAY_PERDATA;

class CTradeOperator
{
public:
	CTradeOperator();
	virtual ~CTradeOperator(void);

	virtual void Start(int nStartMoney, CTradeRule* pRule) = 0 {}
	virtual void DoIt(DAY_PERDATA* pData) = 0 {}
	virtual void SetOutput(COutPut* pOutput);

protected:

	CTradeRule* m_pRule;
	COutPut* m_pOut;
};

